// import { DECREMENT, INCREMENT, INCREMENT_SAGA } from "../const/counter.const"
// export const increment = (payLoad) => ({ type: INCREMENT, payLoad })
// export const decrement = (payLoad) => ({ type: DECREMENT, payLoad })
// export const increment_async = (payLoad) => dispatch => {
//     setTimeout(() => {
//         dispatch(increment(payLoad))
//     }, 2000)
// }

// export const increment_saga = (payLoad) => ({ type: INCREMENT_SAGA,payLoad })

import { createAction } from "redux-actions"

export const increment = createAction("increment")
export const decrement = createAction("decrement") 